<?php
namespace app\admin\controller;
use think\Controller;
class GoodAttr extends Controller 
{
    
	//异步获取指定类型下的属性
	public function ajaxdelga(){
		//post请求 获取名为gaid的值
		$del = db('goods_attr')->delete(input('gaid'));
		if($del){
			echo 1; //删除成功
		}else{
			echo 2; //删除失败
		}
		//返回1
	}
}
